package springcloudfeign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import springcloudfeign.hystrix.HystrixClientFallback;

@FeignClient(name = "microservices", fallback = HystrixClientFallback.class)
public interface TestService {

	@RequestMapping(value = "/hi", method = RequestMethod.POST)
	String sayHi();
}
